export const success= (data)=>{
  console.log(data)
    return{
      type   : "LOGIN",
      payload: data
    }
  }
  export const fail= (data)=>{
    console.log(data)
      return{
        type   : "LOGINFALSE",
        payload: data
      }
    }